package com.bdqn.java4;

import java.io.*;

public class File1 {
public static void main(String[] args) throws IOException {
	File f=new File("f:\\1.txt");
	System.out.println(f.exists());
	System.out.println(f.isFile());
	System.out.println(f.isDirectory());
	System.out.println(f.getPath());
	System.out.println(f.getAbsolutePath());
	System.out.println(f.getName());
	System.out.println(f.createNewFile());
	System.out.println(f.length());
	//f.delete();
}
}
